Skip to content

PYTHON-5421 continued - update changelog, update docstring, and add testing #2420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 7, 2025

Conversation

sleepyStick
Copy link
Contributor

follow up PR to #2413

@sleepyStick sleepyStick requested a review from aclark4life July 3, 2025 18:45
Copy link
Contributor

@aclark4life aclark4life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may just be me but I would do options instead of 'options' what do you think? Also I'd say "parse_uri's options parameter" instead of parse_uri's options. </nit>

@sleepyStick
Copy link
Contributor Author

It may just be me but I would do options instead of 'options' what do you think? Also I'd say "parse_uri's options parameter" instead of parse_uri's options. </nit>

Totally makes sense, i'm kinda terrible with words sometimes so i'll happily suggest any revisions to my text :)

@sleepyStick sleepyStick requested a review from aclark4life July 7, 2025 18:33
@@ -80,6 +80,9 @@ async def parse_uri(
wait for a response from the DNS server.
:param srv_service_name: A custom SRV service name
.. versionchanged:: 4.14
'options' is now type ``dict`` as opposed to a ``_CaseInsensitiveDictionary``.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here too!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry missed this, good catch!
just options right?

@@ -80,6 +80,9 @@ def parse_uri(
wait for a response from the DNS server.
:param srv_service_name: A custom SRV service name
.. versionchanged:: 4.14
'options' is now type ``dict`` as opposed to a ``_CaseInsensitiveDictionary``.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here

@aclark4life aclark4life self-requested a review July 7, 2025 19:38
Copy link
Contributor

@aclark4life aclark4life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@sleepyStick sleepyStick marked this pull request as ready for review July 7, 2025 20:59
@sleepyStick sleepyStick requested a review from a team as a code owner July 7, 2025 20:59
@sleepyStick sleepyStick merged commit c77c15e into mongodb:master Jul 7, 2025
80 checks passed
@sleepyStick sleepyStick deleted the PYTHON-5421-pt2 branch July 7, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants